package com.eims.app.domain;

public class News {
	private int _id;
	private String mTitle;
	private String mContent;
	private String mUrl;
	private String mTime;
	private String mComment;

	public News(String mTitle, String mContent, String mUrl,
			String mTime, String mComment) {
		this.mTitle = mTitle;
		this.mContent = mContent;
		this.mUrl = mUrl;
		this.mTime = mTime;
		this.mComment = mComment;
	}
	
	public News(int _id, String mTitle, String mContent, String mUrl,
			String mTime, String mComment) {
		this._id = _id;
		this.mTitle = mTitle;
		this.mContent = mContent;
		this.mUrl = mUrl;
		this.mTime = mTime;
		this.mComment = mComment;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getmTitle() {
		return mTitle;
	}

	public void setmTitle(String mTitle) {
		this.mTitle = mTitle;
	}

	public String getmContent() {
		return mContent;
	}

	public void setmContent(String mContent) {
		this.mContent = mContent;
	}

	public String getmUrl() {
		return mUrl;
	}

	public void setmUrl(String mUrl) {
		this.mUrl = mUrl;
	}

	public String getmTime() {
		return mTime;
	}

	public void setmTime(String mTime) {
		this.mTime = mTime;
	}

	public String getmComment() {
		return mComment;
	}

	public void setmComment(String mComment) {
		this.mComment = mComment;
	}

	@Override
	public String toString() {
		return _id + "|" + mTitle + "|" + mContent + "|" + mUrl + "|" + mTime
				+ "|" + mComment;
	}

}
